//
//  StudentCopyModel.swift
//  ArchitectGenerics
//
//  Created by 姚胜龙 on 2017/6/13.
//  Copyright © 2017年 姚胜龙. All rights reserved.
//

import UIKit

class StudentCopyModel: ShallowCopyProtocal {

    var name:String?
    var teachers:Array<TeacherModel>?

    init(name:String, teachers:Array<TeacherModel>) {
        self.name = name
        self.teachers = teachers
    }

    func clone() -> AnyObject? {
        return StudentCopyModel(name: self.name!, teachers: self.teachers!)
    }
}
